home *** CD-ROM | disk | FTP | other *** search
- Path: galaxy.ucr.edu!not-for-mail
- From: thp@cs.ucr.edu (Tom Payne)
- Newsgroups: comp.lang.c++
- Subject: Re: Coding Standards
- Date: 6 Mar 1996 20:42:03 GMT
- Organization: University of California, Riverside
- Message-ID: <4hktar$5o2@galaxy.ucr.edu>
- References: <4hj8ek$elu@sam.inforamp.net>
- NNTP-Posting-Host: corvette.ucr.edu
- X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
-
- Randy Charles Morin (rmorin@inforamp.net) wrote:
- : The company I just started a contract with gave me a set of C++ coding
- : standards. I started reading and couldn't stop laughing. I can't reproduce
- : them word-for-word, because that wouldn't be nice to the authors and might be
- : considered a copyright violation or privacy violation, but I'll outline some
- : of the points.
-
- By and large these are good guidelines, and I'd appreciate a copy of them.
- Some, however, require some exceptions, e.g.:
-
- : -don't use conditional compilation preprocessor directives.
-
- How then does one surpress multiple inclusion of header files?
-
- : -don't allocate memory and expected someone else will delete it later.
-
- Even if you are using a garbage-collection library?
-
- Tom Payne (thp@cs.ucr.edu)
-